Wpo\Insights\Event_Service B

Total Complexity 98
Dependencies 10
Dependents 3
Total lines 692
Lines of code 454
Logical lines of code 287
Comment lines 124
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
flush_events()
A
41 12 54
get_event_user()
A
49 13 33
get_insights_summary()
A
43 11 47
get_insights()
A
47 7 34
user_created_fail__handler()
S
50 6 27
insights_retention()
S
48 4 35
user_created__handler()
S
53 4 21
user_updated__handler()
S
53 4 21
user_updated_fail__handler()
S
53 4 21
user_loggedin_fail__handler()
S
50 3 27
ensure_events_table()
S
52 3 26
truncate_insights_data()
S
56 3 17
wp_login_failed__handler()
S
66 4 7
get_scim_attributes()
S
58 3 15
add_event()
S
59 3 14
mail_sent_fail__handler()
S
61 3 10
get_events_table_name()
S
68 3 7
user_loggedin__handler()
S
59 2 13
authenticate__handler()
S
71 2 6
mail_sent__handler()
S
63 2 9
notification_sent__handler()
S
71 1 5
notification_sent_fail__handler()
S
71 1 5